/**
 * 
 */
package POJO;

/**
 * @author THIEUQUANG
 * 
 */
public class PhieuDathang
{
    // Các thuộc tính
    private int    maDatHang;
    private String ngayDat;
    private int    maKhachHang;
    private float  triGiaSP;
    private String tinhTrang;
    private float  phiVanChuyen;

    // PHương thức khởi tạo
    public PhieuDathang()
    {
        this.maDatHang = -1;
        this.ngayDat = null;
        this.maKhachHang = -1;
        this.triGiaSP = -1;
        this.tinhTrang = null;
        this.phiVanChuyen = -1;
    }

    public PhieuDathang(int maDatHang, String ngayDat, int maKhachHang,
            float triGiaSP, String tinhTrang, float phiVanChuyen)
    {
        this.maDatHang = maDatHang;
        this.ngayDat = ngayDat;
        this.maKhachHang = maKhachHang;
        this.triGiaSP = triGiaSP;
        this.tinhTrang = tinhTrang;
        this.phiVanChuyen = phiVanChuyen;
    }

    // Các phương thức set/get
    /**
     * @return the maDatHang
     */
    public int getMaDatHang()
    {
        return maDatHang;
    }

    /**
     * @param maDatHang
     *            the maDatHang to set
     */
    public void setMaDatHang(int maDatHang)
    {
        this.maDatHang = maDatHang;
    }

    /**
     * @return the ngayDat
     */
    public String getNgayDat()
    {
        return ngayDat;
    }

    /**
     * @param ngayDat
     *            the ngayDat to set
     */
    public void setNgayDat(String ngayDat)
    {
        this.ngayDat = ngayDat;
    }

    /**
     * @return the maKhachHang
     */
    public int getMaKhachHang()
    {
        return maKhachHang;
    }

    /**
     * @param maKhachHang
     *            the maKhachHang to set
     */
    public void setMaKhachHang(int maKhachHang)
    {
        this.maKhachHang = maKhachHang;
    }

    /**
     * @return the triGiaSP
     */
    public float getTriGiaSP()
    {
        return triGiaSP;
    }

    /**
     * @param triGiaSP
     *            the triGiaSP to set
     */
    public void setTriGiaSP(float triGiaSP)
    {
        this.triGiaSP = triGiaSP;
    }

    /**
     * @return the tinhTrang
     */
    public String getTinhTrang()
    {
        return tinhTrang;
    }

    /**
     * @param tinhTrang
     *            the tinhTrang to set
     */
    public void setTinhTrang(String tinhTrang)
    {
        this.tinhTrang = tinhTrang;
    }

    /**
     * @return the phiVanChuyen
     */
    public float getPhiVanChuyen()
    {
        return phiVanChuyen;
    }

    /**
     * @param phiVanChuyen
     *            the phiVanChuyen to set
     */
    public void setPhiVanChuyen(float phiVanChuyen)
    {
        this.phiVanChuyen = phiVanChuyen;
    }

}
